
====== What's new in version 1.0.0.5: ======
- ADD method "FTPRenameFolder" to rename folders on FTP



=====================================================================================================================

FTPCityToolkit created by C# & Net Framework 2.0 programs as a plugin for use in NSIS. It design for facility to use of FTP.
User manual of this plugin:
1- Remove folder by use of FTPDeleteFolderRecursively method. (Remove all folders and subfolders and all file inside them.)
2- Make a folder (Directory) by use of FTPMakeDir method. (Make folder with subfolder in one command.)


Method of sending parameters for plugin use in last version:

1) Remove folder by use of FTPDeleteFolderRecursively method. (Remove all folders and subfolders inside that in one command.)

A)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPDeleteFolderRecursively" 4 "FTP.ADDRESS.COM" "Folder1/Folder2/FOLDER NAME_YOU_WANT_DELETE_THAT" "FTP USERNAME" "FTP PASSWORD"

The FTP address (FTP.ADDRESS.COM) in above example must use without FTP:// or any description.
The folder that you want remove in FTP, is mentioned in above example as Folder1/Folder2/FOLDER NAME_YOU_WANT_DELETE_THAT
In above command FOLDER NAME_YOU_WANT_DELETE_THAT that is the last folder we write in the address, will be remove with all folder and subfolder. Folder1/Folder2 is just some random address in FTP.
Enter FTP username instead of FTP USERNAME in above example. 
Enter FTP password instead of FTP PASSWORD in above example. 

B)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPDeleteFolderRecursively" 4 "FTP.ADDRESS.COM" "FOLDER NAME_YOU_WANT_DELETE_THAT" "FTP USERNAME" "FTP PASSWORD"

If that folder which you want remove is not in other folder; you should write it without prefix and only write FOLDER NAME_YOU_WANT_DELETE_THAT.

=====================================================================================================================

2)	Make a folder(Directory) by use of FTPMakeDir method. (make folder and subfolder in one command.)

A)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPMakeDir" 4 "FTP.ADDRESS.COM" "Files/Create Folder1/Create Folder2/Create Folder3" "FTP USERNAME" "FTP PASSWORD"

The FTP address (FTP.ADDRESS.COM) in above example must use without FTP:// or any description.
The folder that you want make in FTP, is mentioned in above example as Files/Create Folder1/Create Folder2/Create Folder3
In this example there is a folder in FTP that name is Files. Create Folder1 will create in that (Files), then Create Folder2 will create in Create Folder1.(As the same way for Create Folder3)
Enter FTP username instead of FTP USERNAME in above example. 
Enter FTP password instead of FTP PASSWORD in above example. 

B)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPMakeDir" 4 "FTP.ADDRESS.COM" "Create Folder A/Create Folder B/Create Folder C" "FTP USERNAME" "FTP PASSWORD"

At first step in this example a folder (Create Folder A) will be made. Then another folder will made in that folder, which name is Create Folder B . As the same way for Create Folder C.

C)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPMakeDir" 4 "FTP.ADDRESS.COM" "Create My Folder" "FTP USERNAME" "FTP PASSWORD"

In this example a folder will be made in FTP address. That name is Create My Folder.

=====================================================================================================================

3)	Rename a folder(Directory) by use of FTPRenameFolder method.

A)
CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPRenameFolder" 5 "FTP.ADDRESS.COM" "FolderName" "FolderNewName" "FTP USERNAME" "FTP PASSWORD"

The FTP address (FTP.ADDRESS.COM) in above example must use without FTP:// or any description.
The folder that you want renaming in FTP, is mentioned in above example as FolderName
The folder that you want changing name to that in FTP, is mentioned in above example as FolderNewName
In this example there is a folder in FTP that name is FolderName renamed to FolderNewName
Enter FTP username instead of FTP USERNAME in above example. 
Enter FTP password instead of FTP PASSWORD in above example. 

=====================================================================================================================

Ask your question in NSIS forum (about FTPCityToolkit) in the link below.
http://forums.winamp.com/showthread.php?t=454343
Also you can ask your question directly by Email (r2du.soft@gmail.com).
Best Regards
